Skip to content

Extending Nebular Auth Strategies/Tokens #1622

Open
@henry74

Description

@henry74

Issue type

I'm submitting a ... (check one with "x")

  • bug report
  • [ X] feature request

Issue description

I’m trying to make use of the out of the box Nebular Auth components specifically with Firebase REST-based Auth. Login and register work fine for the most part but I need to make a few changes to get the other functions working correctly. I’m looking for help/examples on how to do the following:

  1. Change the payload for the requestPassword - firebase needs another field which isn’t passed
  2. Add a new Token type or change an existing token type. The response from login has other fields besides the token which I need (e.g. the firebase uid) but the simple text token only let’s me capture the tokenId and I can’t use the JWT token class as the payload doesn’t conform to a JWT.

Any examples or direction would be appreciated.

Current behavior:

Expected behavior:

Steps to reproduce:

Related code:

insert short code snippets here

Other information:

npm, node, OS, Browser

Node 10.x, Linux/Mac OSX, Chrome

Angular, Nebular

Angular 8
Nebular 4.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions