Ionic3. where is authentication sample? login,logout, register

where is ionic3’s authenctication sample.

i wanna make login,logout,register page.

there are some sample pages(ionic1,ionic2)
i need ionic3 sample.

plz tell me, thanks.

Ionic2 and Ionic3 are fundamentally the same thing.

thanks your reply.

authentication ionic2

but, this is not work.
ill look it up.


What doesn’t work? “does not work” is not a good description.

when push login button, nothing.
i expected to move tabs page.

but,when push login button, alwasy this happen. - - [31/May/2017 20:35:19] "OPTIONS /api/login HTTP/1.1" 200 10

i dont need “OPTIONS” method. i want “PUT” method. but not work…

in spite of adding this config, still not work.

  "name": "auth",
  "app_id": "",
  "type": "ionic-angular",
  "proxies": [{
    "path": "/api/login",
    "proxyUrl": "http://localhost:3000"

what should i do…?

This is how browsers work. You can read all about it here: Cross-Origin Resource Sharing (CORS) - HTTP | MDN If the OPTIONS request is successful, it should then do the desired request.

And again:

is not a error description we can work with.

thanks your reply.
yes… options request is always successful
but, idont know why next page is not showing up when i click login button.

mmm…ill look it up arround “token”.

thanks !!