Socket
Socket
Sign inDemoInstall

react-native-metabase-auth

Package Overview
Dependencies
539
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-native-metabase-auth

Manage sessions and make requests to Metabase instances in React Native apps.


Version published
Weekly downloads
4
Maintainers
1
Created
Weekly downloads
 

Readme

Source

react-native-metabase-auth

react-native-metabase-auth makes uses of React Native's AsyncStorage to help you easily manage Metabase sessions and requests in React Native apps.

Build Status Greenkeeper badge

Installation

Install the package with yarn

yarn add react-native-metabase-auth

Usage overview

  1. Log in a user by asking them for the baseUrl of their Metabase instance (metabase.company.com for example), their metabase username (often their email), and their password.
  2. Make requests on behalf of the user using Metabase.request('resource')
  3. When you're all done, use Metabase.logout() to destroy the session and remove it from storage.

For a more complete sense of integrating Metabase auth into a react natvie app, I'd recommend checking out the example app

Metabase compatability

This package should work with all Metabase instances running Metabase 0.24 or later.

Affiliation

While I am a Metabase team member, this package is just a side project of mine and should not be considered an official Metabase product. That being said, I hope you find it useful!

FAQs

Last updated on 24 Feb 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc