16 |
17 |
18 | 19 |

{{ __('Auth by bot example') }}

20 | 21 | @if (session('message')) 22 | 25 | @endif 26 | 27 | @auth 28 |

{{ __('Hi') }} {{ Auth::User()->name }}

29 | 30 | @if($logins) 31 | {{ __('Auth by:') }}
32 | @foreach($logins as $login) 33 |
{{ $login->provider }}, ID: {{ $login->external_id }}
34 | @endforeach 35 | @endif 36 | 37 |
38 | {{ csrf_field() }} 39 | 40 |
41 | @else 42 |

43 | {{ __('Write this message to the bot:') }} {{ $secret }} 44 |

45 | 46 |
47 |
48 |
49 | 50 |
51 | 52 |
53 | 56 |
57 |
58 |
59 | 60 |
{{ __('Select bot') }}
61 | 62 | VK 63 | Telegram 64 | Facebook 65 | 66 |
67 | 68 |
69 | {{ csrf_field() }} 70 | 71 | 72 |
73 | 74 | 94 | @endauth 95 |

96 | https://github.com/zetrider/BotAuth 97 |

98 |
99 |
100 |