1

Topic: firebase auth and core identity

Good afternoon.
Such task:
Core 2.
JS on the client receives a token from firebase and requests to  are accompanied by this token in title.
checks a token and starts up (or does not start up) to  marked attribute Authorize.
All works, but how to me to connect which user I I receive from firebase c which local user I receive with the help identity from my basis? There is what that standard variants?
Thanks.

2

Re: firebase auth and core identity

Vladimirzzz wrote:

All works, but how to me to connect which user I I receive from firebase c which local user I receive with the help identity from my basis? There is what that standard variants?

https://blog.markvincze.com/secure-an-a … -firebase/

3

Re: firebase auth and core identity

Good afternoon.
Thanks for the answer.
Instead of you could point a finger to me where was specific in this article there is an answer to my question or at least though that that similar?

4

Re: firebase auth and core identity

Vladimirzzz;
And nearby in a subject Demarcation of the rights... There is no answer to your question?

5

Re: firebase auth and core identity

Vladimirzzz wrote:

There is what that standard variants?

to understand a server role in dialogue of the client and basis it is necessary to begin with authentification on  instead of tokens.
There are indications to development on a basis  and there are indications to development a web of applications on the basis of tokens (SSO, SIP....)

6

Re: firebase auth and core identity

Petro123;
Good afternoon. There is no in an adjacent subject I did not find the answer.
I did not understand the last your answer - what for to me ,
"In dialogue of the client and basis" - you mean a server role that the circuit described by me wrong?
Whom do you name the client and whom the server? Thanks for answers but I did not understand anything smile

7

Re: firebase auth and core identity

Vladimirzzz wrote:

what for to me

Normally do not know where are necessary  and where tokens.
And a question at you chaotic.
?

Vladimirzzz wrote:

Whom you name the client and whom the server?

Server - iis it is normal))
Client - JS it is normal))

Vladimirzzz wrote:

JS on the client receives a token from firebase

Normally! The client directly from  receives nothing

8

Re: firebase auth and core identity

Petro123;
And still too did not understand that for indications - SSO I  - I correctly understood that meant single sign-on? If yes that and here it. About Sip - did not understand what decryption of this abbreviation meant

9

Re: firebase auth and core identity

Vladimirzzz wrote:

Petro123;
And still too did not understand that for indications - SSO I  - I correctly understood that meant single sign-on? If yes that and here it. About Sip - did not understand what decryption of this abbreviation meant

means throw tokens and take )
SIP this application of one window. To it recommend tokens

10

Re: firebase auth and core identity

Petro123;
Yes. Sorry. It turned out chaotically. I meant not db firebase a google firebase auth. But it seemed to me that from a context clearly.

11

Re: firebase auth and core identity

Petro123 wrote:

it is passed...
Instead of SPA?

12

Re: firebase auth and core identity

Vladimirzzz wrote:

Petro123;
Yes. Sorry. It turned out chaotically. I meant not db firebase a google firebase auth. But it seemed to me that from a context clearly.

)))
Then forget all that above I wrote).

13

Re: firebase auth and core identity

Vladimirzzz wrote:

Instead of SPA?

yes, certainly.

14

Re: firebase auth and core identity

Vladimirzzz;
By the way, to register to  in basis in  a field of AvtorizovalsjaPoGuglu  from Google not a variant?

15

Re: firebase auth and core identity

Petro123;
Well I left it as a last resort - to write the filter and in it to receive usera from identity and to it to substitute the user from firebase is if it turns out to change. But it seems to me it is possible as that more correctly

16

Re: firebase auth and core identity

Vladimirzzz;
Imho it is normal.
If it is not a lot of code.
You join two systems.
Good luck!

17

Re: firebase auth and core identity

Vladimirzzz wrote:

Good afternoon.
Thanks for the answer.
Instead of you could point a finger to me where was specific in this article there is an answer to my question or at least though that that similar?

You that want? That for you solved the task?
Here the information on official dock about providers for exterior authorization
https://docs.microsoft.com/en-us/aspnet … etcore-2.1
Here middleware for Firebase
https://www.nuget.org/packages/AspNetCo … ntication/
You have everything to solve your task which particulars are known only to you. Under the specified links there is a heap of source codes, all in an easy approach. A beret also do.

18

Re: firebase auth and core identity

hVostt;
You sent me 3 links
1. How to implement that that at me and so it is implemented. But all the same thanks - there an interesting blog.
2. Docks which describe connection of exterior providers through native functions - there are not present words about that about what I ask.
3. A packet in which that is implemented that is described in article from point 1.
I am simple as that I am lost - I can that that I do not understand and passed reading these links?
Or you not up to the end read a question?
Anyway thanks for answers.

19

Re: firebase auth and core identity

Vladimirzzz wrote:

I am simple as that I am lost - I can that that I do not understand and passed reading these links?
Or you not up to the end read a question?

Specify, what exactly you want? And why the given references do not help you to solve the task?

20

Re: firebase auth and core identity

Vladimirzzz wrote:

I am simple as that I am lost - I can that that I do not understand and passed reading these links?
Or you not up to the end read a question?

Do not search for answers in those posts where they are not present on-definition.
the best approach in changeover of a guglo-token on own. In middleware check guglo-token presence if it is found - search for the user in the basis and create the token (or is simple claims cookie) which contain the necessary information and connect with request, there is a standard authorization on tokens/kukah according to your token/claims cookie further.

21

Re: firebase auth and core identity

StalkerS wrote:

or it is simple claims cookie

+1
Or it is simple  in due course lives - session.
The user closed the browser and session ( became rotten and disappeared) was closed

22

Re: firebase auth and core identity

Posts [ 22 ]

Pages 1

You must login or register to post a reply