Single login/registration page (sign_in)

Permalink
Hello everyone I am new to Concrete and to the forums and I was trying to create a login/registration page. I found one Created by Mattwaters in the how to's, however, when i use the code i get the following error: Class 'OpenIDAuth' not found. here is the code: I am using the latest version of Concrete5.7.3.1
<?php  defined('C5_EXECUTE') or die("Access Denied."); ?>
<?php  Loader::library('authentication/open_id');?>
<?php  $form = Loader::helper('form'); ?>
<script type="text/javascript">
$(function() {
    $("input[name=uName]").focus();
});
</script>
<body>
<?php  if (isset($intro_msg)) { ?>
<div class="alert-message block-message success"><p><?php echo $intro_msg?></p></div>
<?php  } ?>
<div class="row">
<div class="span10 offset1">
<div class="page-header">

 
StefSmeers replied on at Permalink Reply
StefSmeers
The code you are using is written for older versions than 5.7.
On the second line you can see it is still using libraries which is not being used on 5.7.
So that explains why the code is not working anymore.

- Stef
johnjames2080 replied on at Permalink Reply
I have the same problem.

I have a custom login form on my site:

<form method="post" action="<form method="post" action="<?=$this->url('/login', 'do_login')?>">
<input type="text" name="uName" placeholder="Username">
<input type="password" name="uPassword" placeholder="Password"><br />
<button type="submit" button class="border-button">LOGIN</button>
</form>

This was working fine on version 5.6 but on version 5.7 I get this error:

An unexpected error occurred. Invalid Authentication Type Handle

Can anyone tell me what code I should replace this with to get this working on 5.7?

Thanks
MrKDilkington replied on at Permalink Reply
MrKDilkington
@whydreamnreality
@johnjames2080

Can you post links to your login/registration pages?

You might be able to accomplish what you are looking to do by overriding the login/registration single pages.