auth0

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2019 License: MIT Imports: 4 Imported by: 0

README

Nibbler User Auth0

Connects Auth0 and our user model

Sample app

  • first, change sample.application.go and set the user email to match the account in Auth0 (this module requires the user to be in the local DB)
  • should return 404 / "not found" when hitting localhost:/test
  • should redirect to login when hitting localhost:/login
  • once logged in, it redirects back to localhost:/callback, it will respond with a 200 status code
  • go to localhost:/test - you should see "authorized"

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Extension

type Extension struct {
	auth0.Extension

	UserExtension *user.Extension
}

func (*Extension) Init

func (s *Extension) Init(app *nibbler.Application) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL