Hi Christophe,

I am working on a project and stuck in same kind of requirement where I 
need to login JWT, can you explain how you get it done on your app.
My requirement is to redirect user to their subdomain based on username 
like  vikram.myapp.com  if they register on myapp.com/signup or login 
through myapp.com/login 

My requirement is something like launch27.com 

Thanks in advance.

On Friday, 22 April 2016 09:50:27 UTC+5:30, Christophe HOARAU wrote:
>
> Hi,
>
> Thanks I think I just find out what I needed to do. I just have to store 
> my client side data on my login subdomain and send it through an url 
> parameter for each other subdomains.
>
> Thanks a lot.
>
> Yours Sincerely/Cordialement
>
> Christophe HOARAU
>
> On Fri, Apr 22, 2016 at 6:18 AM, Sander Elias <[email protected] 
> <javascript:>> wrote:
>
>> hi Christophe,
>>
>> You can use JWT even across multiple domains, not only subdomains. This 
>> is exactly one of the reasons it's invented! Also, I do this in multiple 
>> projects, so this is known to work. 
>> If you need an server-side solution for your auth, you can indeed use 
>> passport. Passport has an way to work with JWT too.
>>
>> Regards
>> Sander  
>>
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "AngularJS" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/angular/Tt5_8lZEOxs/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/angular.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to